PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Theme Button Value Constants

You can use constants of type ThemeButtonValue in the ThemeButtonDrawInfo structure to specify that button controls are drawn with the correct values. The ThemeButtonValue constants are available with Appearance Manager 1.1 and later.

enum {
    kThemeButtonOff         = 0,
    kThemeButtonOn          = 1,
    kThemeButtonMixed       = 2,
    kThemeDisclosureRight   = 0,
    kThemeDisclosureDown    = 1,
    kThemeDisclosureLeft    = 2
};
typedef UInt16 ThemeButtonValue;

Constant descriptions

kThemeButtonOff
Identifies a button that is not selected.
kThemeButtonOn
Identifies a button that is selected.
kThemeButtonMixed
Identifies a button that is in the mixed state, indicating that a setting is on for some elements in a selection and off for others. This value typically applies to checkboxes and radio buttons.
kThemeDisclosureRight
Identifies a disclosure triangle that is pointing to the right.
kThemeDisclosureDown
Identifies a disclosure triangle that is pointing down.
kThemeDisclosureLeft
Identifies a disclosure triangle that is pointing to the left.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)